package vn.edu.nuce.utility;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

public class Utility {
	public static String genUUID(){
		UUID idOne = UUID.randomUUID();
		return String.valueOf(idOne);
	}
	public static String formatDate(Date date) {
		SimpleDateFormat dt = new SimpleDateFormat("dd/MM/yyyy");
		return dt.format(date);
	}
}
